#include <bits/stdc++.h>
#include <string>
using namespace std;

bool isPrime(int num) {
    for (int i = 2; i * i <= num; ++i)
        if (num % i == 0) return false;
    return true;
}

string toString(int value) {
    stringstream ss;
    ss << value;
    return ss.str();
}

string func(int num) {
    for (int i = 2; i <= num / 2; ++i)
        if (isPrime(i) & isPrime(num - i)) return (toString(i) + "+" + toString(num - i));
    return "";
}

int main() {
    int n;
    cin >> n;
    for (int i = 4; i <= n; i += 2)
        printf("%d=%s\n", i, func(i).c_str());
    return 0;
}